    using SmartSoft.DAL;
    using System.Web.Services;
    using System;
    using System.Data;
    using System.Data.SqlClient;

[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
public class WSDmBpDataAccess : System.Web.Services.WebService
{
    private DmBpDataAccess objDataAccess = new DmBpDataAccess();
    public WSDmBpDataAccess()
    {
    }


    [WebMethod]
    public DataSet GetDataSet()
    {
        return objDataAccess.GetDataSet();
    }

    [WebMethod]
    public int SaveRow(bool pb_NewChecked, DataTable tableRow)
    {

        return objDataAccess.SaveRow(pb_NewChecked, tableRow.Rows[0]);
    }
}